package com.starsoft.quant.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * QuantModelParamData entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "quant_model_param_data")
public class QuantModelParamData implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer paramId;
	private Integer acountId;
	private String value;

	// Constructors

	/** default constructor */
	public QuantModelParamData() {
	}

	/** full constructor */
	public QuantModelParamData(Integer paramId, Integer acountId, String value) {
		this.paramId = paramId;
		this.acountId = acountId;
		this.value = value;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "increment")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "param_id")
	public Integer getParamId() {
		return this.paramId;
	}

	public void setParamId(Integer paramId) {
		this.paramId = paramId;
	}

	@Column(name = "acount_id")
	public Integer getAcountId() {
		return this.acountId;
	}

	public void setAcountId(Integer acountId) {
		this.acountId = acountId;
	}

	@Column(name = "value", length = 100)
	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

}